Function Remove-ScheduleResource(){
    [CmdletBinding()]param(
		[string]$vdi=$env:COMPUTERNAME
	)
	Get-Variable "*TSF_$vdi*" -Scope Global|%{
		(Get-Variable $_.name).value.Dispose()
		Remove-Variable -Name $_.name -Scope Global -Force
	}
	(Get-Variable "TSC_$vdi" -Scope Global).value.Dispose()
	Remove-Variable -Name "TSC_$vdi" -Scope Global -Force
}